package pers.xiaojun.boot.file.config;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;
import pers.xiaojun.boot.file.core.client.FileClientFactory;
import pers.xiaojun.boot.file.core.client.FileClientFactoryImpl;

/**
 * 文件客户端自动配置
 *
 * @author xiaojun
 * @since 2025-11-15
 */
@AutoConfiguration
public class FileClientAutoConfiguration {

    /**
     * 文件客户端工厂Bean
     */
    @Bean
    public FileClientFactory fileClientFactory() {
        return new FileClientFactoryImpl();
    }

}
